<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>云闪付 - 应用下载</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            padding: 50px;
            background-color: #f5f5f5;
            color: #333;
        }
        h1 {
            color: #007bff;
            margin-bottom: 20px;
            font-size: 24px; /* 增大字体大小 */
            font-weight: bold; /* 加粗字体 */
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
        }
        .logo {
            width: 100px; /* 根据实际Logo大小调整 */
            margin-bottom: 30px;
        }
        .button {
            display: inline-block;
            padding: 15px 30px;
            color: white;
            background-color: #007bff;
            text-decoration: none;
            border-radius: 5px;
            margin: 10px;
            transition: background-color 0.3s;
            font-size: 16px;
        }
        .button:hover {
            background-color: #0056b3;
        }
        .footer {
            margin-top: 30px;
            font-size: 14px;
            color: #666;
        }
    </style>
</head>
<body>

    <img class="logo" src="http://file.market.xiaomi.com/thumbnail/PNG/l114/AppStore/0c7b074d87fd9497098deedd065587e6b11ef05df" alt="云闪付 Logo">
    <h1>云闪付 - 银行系统统一支付App</h1> <!-- 修改标题内容 -->

    <div id="download-button"></div>

    <p>请注意：点击按钮后将直接跳转至相应的应用商店进行下载。</p>

    <div class="footer">
        <p>&copy; 2023 您的公司名称. 保留所有权利.</p>
    </div>

    <script>
        window.onload = function() {
            const userAgent = navigator.userAgent.toLowerCase();
            const downloadButtonDiv = document.getElementById('download-button');
            let button;

            if (userAgent.indexOf("android") > -1) {
                button = `<a href="market://details?id=com.unionpay" class="button">下载应用</a>`;
            } else if (userAgent.indexOf("iphone") > -1 || userAgent.indexOf("ipad") > -1) {
                button = `<a href="itms-apps://itunes.apple.com/app/id600273928" class="button">下载应用</a>`;
            } else {
                button = `<p>请使用 Android 或 iOS 设备访问该页面。</p>`;
            }

            downloadButtonDiv.innerHTML = button;
        };
    </script>

</body>
</html>
